home *** CD-ROM | disk | FTP | other *** search
/ EnigmA Amiga Run 1997 April / EnigmA AMIGA RUN 17 (1997)(G.R. Edizioni)(IT)[!][issue 1997-04][EAR-CD].iso / EARCD / docs / help / wb13guid.lha / WB1_3.Guide (.txt) next >
Amigaguide Document  |  1996-02-03  |  18KB  |  389 lines

  1.           A Guide to Workbench 1.3 on the A500/A1500/A200.
  2.           ------------------------------------------------
  3.                     By PJ Hutchison 
  4.  12/1/96 v1.0
  5.                      This file is Freeware and
  6.                      distributed unmodified.
  7.                     
  8.  Contents
  9.  --------                  
  10.                             
  11.             1. The Menus
  12.               
  13.             2. The Mouse
  14.               
  15.             3. WB Programs
  16.             
  17.             4. AmigaDOS
  18.               
  19.             5. Common Problems
  20.               
  21. 1. The Menus
  22. ------------
  23. 1.1 Workbench menu
  24. 1.1.1 Open
  25.      This is used on a selected icon. Instead of double clicking on
  26. an icon to show contents of a disk or drawer or run a program you
  27. can select an icon with the pointer and Select Open to display or
  28. run it.
  29. 1.1.2 Close
  30.      Instead of clicking on the Close Gadget at the top left of a
  31. disk or drawer window just select the window (borders blue) and 
  32. select Close.
  33. 1.1.3 Duplicate
  34.      This open allows you to copy files and disks. To copy a file 
  35. select the icon and then select Duplicate. Another icon will appear
  36. saying Copy_of_file or whatever, you can then move that file elsewhere
  37. or Rename it.
  38. 1.1.4 Rename
  39.      This option allows you to change the name of a disk, a drawer or
  40. a file. Select the disk, drawer or file icon to rename, select rename,
  41. and then type in the new name in the given requester.
  42. 1.1.5 Info
  43.      This option displays details of a given disk, drawer or file.
  44. Workbench has 5 types of workbench icons: Disk, Drawer, Trashcan,
  45. Project and Tool. A Trashcan is a special drawer for use with the
  46. 'Empty Trash' feature to delete files. A Project is a data file and
  47. a Tool is a Program. Info will display the type, size, stack size,
  48. default file, comment and protection flags of a file.
  49. 1.1.6 Discard
  50.      This is a delete function, to delete a file you would normally
  51. drag and drop the file into the Trashcan drawer to empty later.
  52. This option allows you to delete a file straight away. A requester
  53. may appear to confirm deletion.
  54. 1.2 Disk Menu
  55. 1.2.1 Empty Trash
  56.      This option deletes all the files in a selected Trashcan drawer
  57. of a disk. This feature is useful because you may want to delete a
  58. file but you could change your mind and decide to keep it, all you
  59. have to do is to drag the file out of the Trashcan back to its
  60. original drawer or disk.
  61. 1.2.2 Initialise
  62.      This option formats a disk for use by the Amiga. It splits
  63. the disk into the right number of tracks/sectors and creates an
  64. empty root directory. It can also automatically create a Trashcan
  65. drawer. To use, select the disk to format and select Initialise.
  66. 1.3 Special Menu
  67. 1.3.1 Cleanup
  68.      This option rearrages icons on a drawer or disk into a less
  69. cluttered state. To use, open the window to rearrange and select
  70. Cleanup. To keep the icons in the new positions, select all the
  71. icons and select 'Snapshot'.
  72. 1.3.2 Last Error
  73.      This will display the last message that appeared in the menu
  74. bar at the top of the screen.
  75. 1.3.3 Redraw
  76.      If the screen or window has been corrupted by another program
  77. and not all the icons or windows have been drawn then this option
  78. will do it for you.
  79. 1.3.4 Snapshot
  80.      This option allows you to save the position of an icon on a
  81. disk or a drawer. To use, select the icon, drag the icon to its
  82. new location and Snapshot it.
  83. 1.3.5 Version
  84.      This will display the version of Workbench and Kickstart 
  85. you are using. Commodore uses release numbers. For 1.3 it is 
  86. release 34.
  87. 2. The Mouse
  88. ------------
  89.      On the Amiga mouse there are two buttons. The Left Mouse Button
  90. (LMB) and the Right Mouse Button (RMB). 
  91. 2.1 Using the Right Mouse Button
  92.      To use the menus, press down the RMB and move the pointer to the
  93. title bar at the top of the screen. Move the pointer over one of the
  94. menu names and some menu items will appear. Now, still with the RMB
  95. pressed, move the pointer down to the selected menu item and release
  96. the RMB to select that item.
  97. 2.2 Using the Left Mouse Button
  98.      This button is mainly used to select and move icons around and
  99. click on gadgets (or buttons).
  100. 2.2.1 Clicking
  101.     To select an icon move the pointer over the desired icon and then
  102. click the LMB once. The icon will change to a reverse or an alternative
  103. image to indicate it has been selected.
  104.      When using gadgets such as those on windows (there are four gadgets
  105. on a window: Close, Window-to-Front, Window-to-Back and Resize) move
  106. the pointer over the desired gadget and click once to use that gadget.
  107. The gadget will change briefly and also change the window.
  108. 2.2.2 Double-Clicking
  109.      This is sometimes a tricky technique to use and requires a steady
  110. hand. This method is used  to open disks, drawers and files or run
  111. programs. To do this, move the pointer over the desired icon and in
  112. quick succession (without moving the pointer) click on the LMB twice.
  113. This should open the icon.
  114. 2.2.3 Dragging
  115.     This technique allows you to move objects such as icons around the
  116. screen or resizing windows. Select an icon with a single click, now keep
  117. the LMB down and move the pointer, the icon will now be dragged with the
  118. pointer. If you let go of the pointer the icon will be dropped into its 
  119. new position. 
  120. 2.2.4 Multiple selection
  121.     You can select more than one icon at a time. To do this, click on
  122. the first icon, press the SHIFT key down (either one) and then click
  123. on the second, third, fourth icons etc to select multiple icons
  124.      You can also select a whole group of icons by pressing the LMB
  125. at the top left of the icons and while keeping the LMB down moving the
  126. power towards the bottom right. A expanding box will apear and the icons
  127. in it will be selected.
  128. 3 WB Programs
  129. -------------
  130.      Here I will give a brief explination of the programs provided with
  131. Workbench 1.3.
  132. 3.1 Workbench Disk
  133. ------------------
  134. 3.1.1 Utilities Drawer
  135.      Calculator     - Program to work out arithmetic calculations
  136.      Clock          - Displays a analogic or digital clock showing
  137.                       the present time and/or date
  138.      ClockPtr       - Turns the pointer from an arrow to a clock!
  139.      Cmd            - Redirects output to the printer to a file
  140.      GraphicDump    - Prints out graphics and pictures
  141.      InstallPrinter - Installs Printer driver in devs/printers
  142.      More           - Program to display text files
  143.      Notepad        - A simple text editor
  144.      Printfiles     - Prints text files
  145.      Say            - Speaks any text you type in
  146.      
  147. 3.1.2 System Drawer
  148.      CLI            - Opens a Command Line Interface console 
  149.      Diskcopy       - Program to copy disks (used by Duplicate)
  150.      Format         - Formats a disk (used by Initialise)
  151.      Fastmemfirst   - Tells Amiga to load programs into Fast memory
  152.      SetMap         - Selects the keyboard map from devs/keymaps
  153.      InitPrinter    - Initalises printer (same as switching it off and on).
  154.      NoFastMem      - Disables all fast memory
  155.      Mergemem       - Adds other memory to be used by the Amiga
  156.      Fixfonts       - Updates Fonts files if changes have been made to
  157.                       any files in Fonts drawer
  158. 3.1.3 Prefs Drawer
  159.      Preferences    - Changes the settings used by the Amiga such as
  160.                       the pointer, printer, serial port etc.
  161.      CopyPrefs      - Makes a copy of prefs to be copied to another
  162.                       disk
  163.      Pointer        - Displays the pointer prefs screen.
  164.      Printer        - Displays the printer prefs screen.
  165.      Serial         - Displays the serial prefs screen.
  166. 3.1.4 Hidden Drawers
  167.      C        - Stores AmigaDOS commands
  168.      Devs     - Stores keymap files, printer drivers and other
  169.                       device drivers and the preferences file.
  170.      Fonts    - Stores bitmap font files. A .font file for
  171.                       each typeface and a file for each font size.
  172.      L        - Stores device handlers
  173.      Libs     - Stores Amiga operating system libraries
  174.      S        - Stores batch or script files
  175.      T        - Temporary files drawer
  176.      
  177. 3.1.5 Other Drawers
  178.      Expansion - Stores special device drivers for expansion peripherals
  179.      Empty     - Duplicate this drawer to create new drawers.
  180.      Trashcan  - Stores files ready to be deleted.
  181.      
  182. 3.2 Extras Disk
  183. ---------------
  184. AmigaBASIC     - BASIC Programming Lanaguage interpretor
  185. 3.2.1 Tools Drawer
  186.      MEmacs    - Text editor
  187.      Fed       - Font editor
  188.      Freemap   - Memory usage display
  189.      PrefMon   - Performance monitor
  190.      IconEd    - Icon editor
  191.      Palette   - Changes Workbench colour scheme
  192.      KeyToy2000 - Displays keyboard characters
  193.      IconMerge - Creates dual-image icons  
  194.      
  195. 3.2.2 PCUtil
  196.      PCCopy    - Allows Amiga to copy files from PC disks
  197.      PCFormat  - Allows Amiga to format PC diskettes
  198.      ToPCCopy  - Allows Amiga to copy files to PC disks
  199.      Read Me   - Text file on using PCUtils
  200.      
  201. 3.2.3 Other Drawers
  202.      BasicDemos - Basic program listings
  203.      FD1.3     - Contains OS Function Descriptions for AmigaBASIC
  204.      Fonts     - More fonts 
  205.      Devs      - Contains all keymap files and printer drivers
  206.      
  207. 4 AmigaDOS Commands
  208. -------------------
  209.      Amiga DOS commands can only be used on a CLI or Shell window
  210. where commands can be typed in to perform various functions. All
  211. these commands have to be run from disk.
  212. 4.1 Command format
  213. To display the information required by a command type a '?' after it.
  214.      Note, after each arguement there is a slash and a character.
  215. This specifies the kind of arguement required such as an option
  216. or a name or a value.
  217. /A   - Argument must be supplied
  218. /F   - Must be final or last arguement
  219. /K   - Keyword must be entered with a parameter
  220. /M   - Multiple arguements may be supplied
  221. /N   - A Number is required
  222. /S   - Switch or option. Supply this function to activate it.
  223. 4.2 Error messages
  224.      If you enter a command and comes back with an error message, typing
  225. WHY will display more information about it. Use the FAULT command to
  226. display the error message that applies to a error code.
  227. 4.3 Volume/Drawer/File names
  228.      Names can be upto 31 characters long and may contain the following
  229. characters:
  230.      Letters A-Z (upper or lower)
  231.      Digits 0-9
  232.      Other characters EXCEPT the colon ':' or slash '/'.
  233.      Spaces can be used but can be confusing use a dash '-' or 
  234.      underline '_' instead.
  235.      
  236. 4.4 Volumes,Drawers and Assigns
  237.      A volume is the name given to a disk and may be referred to 
  238.      by its name followed by a colin ':' e.g. DIR DataDisk:
  239.      
  240.      A drawer or directory is used to organise files together
  241.      and they are usually used in conjunction which a slash to
  242.      seperate the names
  243.      e.g. DIR DF0:Devs/Printers
  244.      
  245.      An assign is a special shortcut name to a volume or a drawer
  246.      and is created using the ASSIGN command.
  247.      e.g. 
  248.           TYPE S:Startup-sequence     is the same as
  249.           TYPE Workbench1.3:S/Startup-Sequence
  250. 4.5 Devices
  251.      A device is a special name given to a particular peripheral
  252.      or an AmigaDOS feature. Typical devices are:
  253.      
  254.      DF0:      - Internal floppy drive
  255.      DF1:      - External floppy drive
  256.      DH0:      - Hard disk (A590)
  257.      RAM:      - RAM disk
  258.      RAD:      - Recoverable RAM disk (from a reboot)
  259.      CON:      - Console device (CLI)
  260.      NEWCON:   - New Console device (Shell)
  261.      SER:      - Serial port
  262.      PAR:      - Parallel port
  263.      PRT:      - Printer port
  264.      AUX:      - Auxillary device
  265.      PIPE:     - Pipe device
  266.      CD0:      - CD-ROM (A570)
  267.      
  268. 4.6 The Commands
  269. Addbuffers     - Add memory to floppy disk buffers to improve speed
  270. Ask            - Asks a question in a script (reply y/n). Use IF WARN
  271.                  to test for a yes.
  272. Assign         - Assign names to directory paths.
  273. Avail          - Memory availablility
  274. Binddrivers    - Load device drivers
  275. Break          - Stop a program (see Status)
  276. CD             - Change directory
  277. ChangeTaskPri  - Changes program's execution priority
  278. Copy           - Copy files
  279. Date           - Display/change date or time
  280. Delete         - Delete files
  281. Dir            - List contents of a directory
  282. Diskchange     - Tell Amigados that a disk has been swapped in a
  283.                  non-autosensing disk drive
  284. Diskdoctor     - Recover files from a disk
  285. Echo           - Display text in a script
  286. Ed             - Edit text files (screen editor)
  287. Edit           - Edit text files (line editor)
  288. Else           - Used with IF, if not true do these commands
  289. Endcli         - Close CLI console window
  290. Endif          - End a IF..ELSE..ENDIF block
  291. Endskip        - Stops a SKIP branch (for debugging)
  292. Eval           - Evaluate a simple arithmetic expression
  293. Execute        - Execute a script or batch file
  294. Failat         - Change failure limit for scripts
  295.                  (0 - Ok, 5 - Warn, 10 - Error, 20 - Fail)
  296. Fault          - Display error message from a code
  297. FF             - Enable Fast fonts
  298. Filenote       - Attach a comment to a file (see LIST)
  299. Getenv         - Return contents of an environment variable
  300. Iconx          - Enables a script to be run from Workbench. The script
  301.                  must have a Project .info file and the Default Tool
  302.                  set to c:IconX to run it.
  303. If             - If condition is true execute following commands until
  304.                  an ELSE or ENDIF occurs.
  305. Info           - Displays information about disks
  306. Install        - Saves a bootblock to a disk. If you have only one drive
  307.                  type INSTALL ? and swap disks and then type DF0: and
  308.                  press RETURN to save bootblock.
  309. Join           - Join two or files together.
  310. Lab            - State a Label to Skip to in a script
  311. List           - List file details in a directory
  312. Loadwb         - Display workbench screen 
  313. Lock           - Lock a device from writing
  314. Makedir        - Create a new directory.
  315. Mount          - Loads and mount a device
  316. Newcli         - Open a new CLI console (CON) window
  317. NewShell       - Open a new Shell console (NEWCON) window
  318. Sort           - Sort contents of a file
  319. Stack          - Change/display amount of stack space
  320. Status         - Display status of running programs
  321. Type           - Display contents of text file on screen
  322. Path           - Set or change the program search path
  323. Prompt         - Change the prompt text
  324. Protect        - Change the 'rwedsp' flags of a file. (r=read,w=write,
  325.                  e=execute,d=delete,s=script,p=pure)
  326. Quit           - Quit a script 
  327. Relabel        - Change name of a disk
  328. RemRAD         - Remove RAD device from memory
  329. Resident       - Stores AmigaDOS command in memory (quicker then reloading
  330.                  from disk each time it is executed). To ensure a 
  331.                  command can be made resident check the pure flag
  332.                  (see List).
  333. Run            - Execute a program in the background (multi-task)
  334. Search         - Search for a string in a file or a file on a disk
  335. Setclock       - Load or set the date and time from battery-backed clock
  336. Setdate        - Set date of a file (see List)
  337. Setenv         - Change the contents of a environment variable
  338. Setpatch       - Patch Operating System functions and remove bugs
  339. Skip           - Jump to a label in a script (see Lab)
  340. Version        - Display workbench or library version information
  341. Wait           - Wait for a specified period of time
  342. Which          - Find where a file is in command path (see Path)
  343. Why            - Display reason why a previous command failed
  344. 5. Common Problems
  345. 5.1 How do I retreive a file I accidently deleted?
  346.      You need to use a Disk Recovery program such as DiskDoctor, 
  347. FixDisk or Disksalv to scan and recover the file. You cannot
  348. retrieve a file that has been deleted and the disk written to
  349. later on as it will most likely been overwritten!
  350. 5.2 How can I view hidden file from Workbench?
  351.      There are a number of methods although the best is to use a
  352. file manager program which can see all files and you can copy,
  353. move, delete and view files very easily. Other than that you need
  354. to resort to using the Shell.
  355. 5.3 How can I create a bootable disk?
  356.      The simplest method is to Duplicate your Workbench disk, delete
  357. the Utilities and the System files (if not required), copy the 
  358. program to the disk and then edit the s:startup-sequence to run
  359. your program. This method also guarentees that all the necessary
  360. files are also on the disk.
  361.      The minimum required to make a disk bootable is to use the Install
  362. command to save a bootblock to the disk. Create a directory called S
  363. and create a startup-sequence file with the name of the program and
  364. save that in the S directory and copy your program to the disk.
  365. To use install with one disk drive, type INSTALL ? then swap disks
  366. and type DF0: and press RETURN.
  367. 5.4 How can I speed up disk access when using the shell?
  368.      The shell is a very powerful feature but can be limiting and
  369. annoying when working from floppy. You can make common commands
  370. run from memory by using the Resident command which allows the Amiga
  371. to use commands from memory instead of loading them from disk.
  372. For example, Resident C:Dir pure will make the DIR command resident.
  373. You can make this a permanent feature by modying the S:Shell-Startup
  374. file and insert these resident commands.
  375.      Also, it is a good idea to do all work on the RAM: disk if you
  376. have plenty of memory instead of saving to/from disk.
  377. 5.5 Why do some icons, when double-clicked, don't load up?
  378.      There are two reasons for this. First, if a program is deleted
  379. but its .info file is left behind then the program or file may seen
  380. to still exist. To rectify this, the program should be re-copied back.
  381.      Second, a lot of Project icons have A Default Tool set. This 
  382. default tool loads up the program and the data file. There are many
  383. tools, particularly text and graphics viewers. If you try to run
  384. a file with a Default Tool that you don't have then the following
  385. message will appear: 'Unable to open the tool <file>'
  386. If this happens, select the icon and choose Info from the Workbench
  387. menu and change the Default tool to the one you do have. For example,
  388. if its a text file, change it to 'More' (Workbench's Text Viewer).
  389.